<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{listaDisenoReportes.page1}" id="page1">
            <ui:html binding="#{listaDisenoReportes.html1}" id="html1">
                <ui:head binding="#{listaDisenoReportes.head1}" id="head1">
                    <ui:link binding="#{listaDisenoReportes.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{listaDisenoReportes.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{listaDisenoReportes.form1}" id="form1">
                        <ui:table augmentTitle="false" binding="#{listaDisenoReportes.table1}" id="table1" lite="true" paginateButton="true"
                            paginationControls="true" sortPanelToggleButton="true" style="left: 72px; top: 240px; position: absolute; width: 623px"
                            title="Reportes" width="623">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{listaDisenoReportes.tableRowGroup1}" id="tableRowGroup1" rows="30"
                                sourceData="#{listaDisenoReportes.sct0034DataProviderReportes}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{listaDisenoReportes.tableColumn1}" headerText="Codigo" id="tableColumn1" sort="SCT0034.CDGORPRTE">
                                    <ui:hyperlink action="#{listaDisenoReportes.hyperlink1_action}" binding="#{listaDisenoReportes.hyperlink1}" id="hyperlink1"
                                        style="font-size: 10px" text="#{currentRow.value['SCT0034.CDGORPRTE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listaDisenoReportes.tableColumn2}" headerText="Descripcion" id="tableColumn2" sort="SCT0034.DSCRPCIONRPRTE">
                                    <ui:staticText binding="#{listaDisenoReportes.staticText2}" id="staticText2" style="font-size: 10px" text="#{currentRow.value['SCT0034.DSCRPCIONRPRTE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listaDisenoReportes.tableColumn3}" headerText="Tipo" id="tableColumn3">
                                    <ui:staticText binding="#{listaDisenoReportes.staticText3}" id="staticText3" style="font-size: 10px" text="#{listaDisenoReportes.tipoReporteTraduccion}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listaDisenoReportes.tableColumn4}" headerText="Creador" id="tableColumn4" sort="SCT0034.USRIOCRDOR">
                                    <ui:staticText binding="#{listaDisenoReportes.staticText4}" id="staticText4" style="font-size: 10px" text="#{currentRow.value['SCT0034.USRIOCRDOR']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listaDisenoReportes.tableColumn5}" headerText="Ejecutador" id="tableColumn5" sort="SCT0034.USRIOEJCTO">
                                    <ui:staticText binding="#{listaDisenoReportes.staticText5}" id="staticText5" style="font-size: 10px" text="#{currentRow.value['SCT0034.USRIOEJCTO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{listaDisenoReportes.tableColumn6}" id="tableColumn6">
                                    <ui:button action="#{listaDisenoReportes.botonEliminar_action}" binding="#{listaDisenoReportes.botonEliminar}"
                                        id="botonEliminar" imageURL="/resources/cancel.gif" mini="true" primary="true" text="Eliminar"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:label binding="#{listaDisenoReportes.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 72px; top: 120px; position: absolute" text="Diseños de reportes"/>
                        <h:panelGrid binding="#{listaDisenoReportes.gridPanelParaComponentes}" columns="4" id="gridPanelParaComponentes"
                            style="height: 24px; left: 72px; top: 144px; position: absolute" width="648">
                            <ui:panelGroup binding="#{listaDisenoReportes.groupPanelParaCodigo}" id="groupPanelParaCodigo" style="height: 46px; width: 94px">
                                <ui:label binding="#{listaDisenoReportes.codigoReporteLabel}" id="codigoReporteLabel" text="Codigo"/>
                                <ui:textField binding="#{listaDisenoReportes.codigoTextField}" id="codigoTextField" style="width: 96px"/>
                            </ui:panelGroup>
                            <ui:panelGroup binding="#{listaDisenoReportes.groupPanelParaTitulo}" id="groupPanelParaTitulo">
                                <ui:label binding="#{listaDisenoReportes.tituloReporteLabel}" id="tituloReporteLabel" text="Titulo"/>
                                <ui:textField binding="#{listaDisenoReportes.tituloReporteTextField}" id="tituloReporteTextField"/>
                            </ui:panelGroup>
                            <ui:panelGroup binding="#{listaDisenoReportes.groupPanelParaUsuario}" id="groupPanelParaUsuario" style="height: 22px; width: 166px">
                                <ui:label binding="#{listaDisenoReportes.usuarioCreadorLabel}" id="usuarioCreadorLabel" text="Usuario creador"/>
                                <ui:textField binding="#{listaDisenoReportes.usuarioCreadorTextField}" id="usuarioCreadorTextField" style="width: 144px"/>
                            </ui:panelGroup>
                            <ui:panelGroup binding="#{listaDisenoReportes.groupPanel1}" id="groupPanel1" style="width: 142px">
                                <ui:label binding="#{listaDisenoReportes.usuarioQueEjecutaLabel}" id="usuarioQueEjecutaLabel" text="Usuario que ejecuta"/>
                                <ui:textField binding="#{listaDisenoReportes.usuarioQueEjecutaTextField}" id="usuarioQueEjecutaTextField" style="width: 144px"/>
                            </ui:panelGroup>
                            <ui:panelGroup binding="#{listaDisenoReportes.groupPanelParaTipo}" id="groupPanelParaTipo" style="height: 24px; width: 94px">
                                <ui:label binding="#{listaDisenoReportes.tipoLabel}" id="tipoLabel" text="Tipo"/>
                                <ui:dropDown binding="#{listaDisenoReportes.tipoDropDown}" id="tipoDropDown"
                                    items="#{listaDisenoReportes.tipoDropDownDefaultOptions.options}" style="font-size: 10px"/>
                            </ui:panelGroup>
                            <ui:button action="#{listaDisenoReportes.botonBuscar_action}" binding="#{listaDisenoReportes.botonBuscar}" id="botonBuscar"
                                imageURL="/resources/buscar.gif" mini="true" primary="true" text="Buscar"/>
                        </h:panelGrid>
                        <ui:alert binding="#{listaDisenoReportes.alert1}" id="alert1" style="left: 240px; top: 96px; position: absolute; width: 526px"/>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
